package com.lrkj.back.mapper;


import java.util.List;
import java.util.Map;

import com.lrkj.back.entity.TbEmployee;
import cn.com.cbons.mamisay.parent.db.api.DBInterface;
import cn.com.cbons.mamisay.parent.exception.DBException;

public interface TbEmployeeMapper extends DBInterface<TbEmployee> {
	TbEmployee findEmployeeByEmployeeLoginname(String employeeLoginname) throws DBException;
//	List<TbEmployee> queryTbEmployeeList(TbEmployee tbEmployee);
	List<TbEmployee> queryEmpList(Map<String, Object> map) throws DBException;
	
	TbEmployee queryMima(TbEmployee emp) throws DBException;//密码验证
	
	void mimaUpdate(TbEmployee emp) throws DBException; //密码修改
	
	TbEmployee selectByEmployeeNo(String employeeNo) throws DBException;
	
	List<TbEmployee> findEmployee(Map<String, Object> map) throws DBException;
}